<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<div style="margin-left:auto; margin-right:auto;">
	<ul class="nav nav-pills nav-stacked">
		<li class="nav-header" style="font-size:18px;">功能导航</li>
		<li ${param.menu=='index'?'class="active"':''}><a href="${ctx}/user/${param.userId}"><i class="icon-home"></i>
			&nbsp;&nbsp;首页</a></li>
		<c:if test="${sessionScope.user.id == param.userId}">
			<li ${param.menu=='password'?'class="active"':''}><a href="${ctx}/user/${param.userId}/password"><i class="icon-lock"></i>
				&nbsp;&nbsp;修改密码</a></li>
		</c:if>
    	<li ${param.menu=='favorite'?'class="active"':''}><a href="${ctx}/user/${param.userId}/favorites"><i class="icon-star-empty"></i>
			&nbsp;&nbsp;收藏夹</a></li>
		<li ${param.menu=='tasting'?'class="active"':''}><a href="${ctx}/user/${param.userId}/tasting"><i class="icon-glass"></i>
			&nbsp;&nbsp;已品红酒</a></li>
		<li ${param.menu=='talk'?'class="active"':''}><a href="${ctx}/user/${param.userId}/talk"><i class="icon-list-alt"></i>
			&nbsp;&nbsp;酒说说</a></li>
	</ul>
</div>